package cm.ph.shopping.facade.order.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @项目：phshopping-facade-order
 * @描述：商户订单详情
 * @作者： 舒豪
 * @创建时间：2017年3月23日
 * @Copyright @2017 by 舒豪
 */
public class QueryOrderDetailVo implements Serializable {

    /**
     * 订单id
     */
    private Long id;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 供应商id
     */
    private Long supplerId;

    /**
     * 订单描述
     */
    private String description;

    /**
     * 订单联系人
     */
    private String contacts;

    /**
     * 订单联系电话
     */
    private String telPhone;

    /**
     * 订单详细地址
     */
    private String address;

    /**
     * 发货联系人
     */
    private String sendContacts;

    /**
     * 发货联系电话
     */
    private String sendTelPhone;

    /**
     * 订单发货详细地址
     */
    private String sendAddress;

    /**
     * 商品总金额
     */
    private BigDecimal money;

    /**
     * 物流Id
     */
    private Long logisticsId;

    /**
     * 物流费用
     */
    private BigDecimal freight;

    /**
     * 订单总金额(物流费用+商品总金额)
     */
    private BigDecimal totalCost;

    /**
     * 状态(0待审核，1待付款，2待发货，3已发货，4,交易完成，5交易关闭，6退货中，7已退货)
     */
    private Integer status;

    /**
     * 下单时间
     */
    private String orderCreateTime;

    /**
     * 修改时间
     */
    private String orderUpdateTime;

    /**
     * 代理商id
     */
    private Long agentId;

    /**
     * 商户id(进货人)
     */
    private Long merchantId;

    /**
     * 物流公司
     */
    private String logisticsCompany;

    /**
     * 物流编号
     */
    private String logisticsNo;

    /**
     * 发货地址(ph_manager_order_address表id)
     */
    private Long sendAddressId;

    /**
     * 收货地址(ph_manager_order_address表id)
     */
    private Long shippingAddressId;

    /**
     * 进货人的上一个已支付的订单编号
     */
    private String lastOrderNo;

    /**
     * 1:未分润 2:已分润
     */
    private Integer bonus;

    /**
     * 会员Id
     */
    private Long memberId;

    /**
     * 会员名称
     */
    private String memberName;

    /**
     * 供应商Id
     */
    private Long supplierId;

    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 商品订单表id
     */
    private Long orderProductId;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 商品编号
     */
    private String productCode;

    /**
     * 商品数量
     */
    private Integer num;

    /**
     * 商品单价
     */
    private BigDecimal purchasePrice;


    /**
     * 商品总价
     */
    private BigDecimal totalMoney;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 商户订单id
     */
    private Long merchantOrderId;

    /**
     * 产品列表
     */
    private List<QueryOrderDetailVo> orderProductsList = new ArrayList<QueryOrderDetailVo>();


    public Long getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(Long logisticsId) {
        this.logisticsId = logisticsId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getSupplerId() {
        return supplerId;
    }

    public void setSupplerId(Long supplerId) {
        this.supplerId = supplerId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSendContacts() {
        return sendContacts;
    }

    public void setSendContacts(String sendContacts) {
        this.sendContacts = sendContacts;
    }

    public String getSendTelPhone() {
        return sendTelPhone;
    }

    public void setSendTelPhone(String sendTelPhone) {
        this.sendTelPhone = sendTelPhone;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    public BigDecimal getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(BigDecimal totalCost) {
        this.totalCost = totalCost;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(String orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public String getOrderUpdateTime() {
        return orderUpdateTime;
    }

    public void setOrderUpdateTime(String orderUpdateTime) {
        this.orderUpdateTime = orderUpdateTime;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getLogisticsCompany() {
        return logisticsCompany;
    }

    public void setLogisticsCompany(String logisticsCompany) {
        this.logisticsCompany = logisticsCompany;
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo;
    }

    public Long getSendAddressId() {
        return sendAddressId;
    }

    public void setSendAddressId(Long sendAddressId) {
        this.sendAddressId = sendAddressId;
    }

    public Long getShippingAddressId() {
        return shippingAddressId;
    }

    public void setShippingAddressId(Long shippingAddressId) {
        this.shippingAddressId = shippingAddressId;
    }

    public String getLastOrderNo() {
        return lastOrderNo;
    }

    public void setLastOrderNo(String lastOrderNo) {
        this.lastOrderNo = lastOrderNo;
    }

    public Integer getBonus() {
        return bonus;
    }

    public void setBonus(Integer bonus) {
        this.bonus = bonus;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Long getOrderProductId() {
        return orderProductId;
    }

    public void setOrderProductId(Long orderProductId) {
        this.orderProductId = orderProductId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(BigDecimal purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getMerchantOrderId() {
        return merchantOrderId;
    }

    public void setMerchantOrderId(Long merchantOrderId) {
        this.merchantOrderId = merchantOrderId;
    }

    public List<QueryOrderDetailVo> getOrderProductsList() {
        return orderProductsList;
    }

    public void setOrderProductsList(List<QueryOrderDetailVo> orderProductsList) {
        this.orderProductsList = orderProductsList;
    }
}
